home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.3 KB | 35 lines | [TEXT/GEOL] |
- Item 7998945 15-Jan-88 10:34
-
- From: BIANCHI1 Bianchi, Curt
-
- To: A33 Drexel U, Nadine Perkey, ASC
-
- cc: MACAPP$ MacApp Interest List
-
- Sub: Response to MacApp questions
-
- Keith,
-
- In response to your questions:
-
- 1. You can tell if a mouse click is a double click in your DoMouseCommand
- method by looking at the theClickCount field of the info parameter.
-
- 2. Don't know the cause of your cursor problem.
-
- 3. MacApp does not include a method or routine to center a dialog. It
- probably should though.
-
- 4. If I understand the problem correctly, you don't want to create a new
- document when the user double-clicks your application. Rather you want the
- user to be able to open an existing one. The thing to do is to override
- TApplication.HandleFinderRequest. It is called once, from TApplication.Run,
- and it handles the three was in which an app can be started from the Finder:
- The app was started by itself in which case it creates a new document, the app
- was started with one or more data files to be opened, or the app was started
- with one or more data files to be printed. By overriding HandleFinderRequest
- you can change its behavior for any of the three cases.
-
- Curt
-
-